Integrate micro‑pentest into demo sidecar; add API/CLI coverage doc and AlDeci podcast script#207
Conversation
There was a problem hiding this comment.
2 issues found across 3 files
Prompt for AI agents (all issues)
Check if these issues are valid — if so, understand the root cause of each and fix them.
<file name="docs/API_CLI_COVERAGE_ANALYSIS.md">
<violation number="1" location="docs/API_CLI_COVERAGE_ANALYSIS.md:198">
P2: Arithmetic inconsistency: the CLI Command Summary states "67 total" but the individual counts in the table sum to 69. Update either the totals to 69 or adjust the category counts to match 67.</violation>
</file>
<file name="docs/ALDECI_PODCAST_SCRIPT.md">
<violation number="1" location="docs/ALDECI_PODCAST_SCRIPT.md:102">
P3: Product name 'Pentagi' is inconsistent with the official branding 'PentAGI' used elsewhere in the codebase. For brand consistency in marketing materials, consider using 'PentAGI' to match the established naming convention.</violation>
</file>
Reply to cubic to teach it or ask questions. Re-run a review with @cubic-dev-ai review this PR
|
|
||
| --- | ||
|
|
||
| ## CLI Command Summary (67 total) |
There was a problem hiding this comment.
P2: Arithmetic inconsistency: the CLI Command Summary states "67 total" but the individual counts in the table sum to 69. Update either the totals to 69 or adjust the category counts to match 67.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/API_CLI_COVERAGE_ANALYSIS.md, line 198:
<comment>Arithmetic inconsistency: the CLI Command Summary states "67 total" but the individual counts in the table sum to 69. Update either the totals to 69 or adjust the category counts to match 67.</comment>
<file context>
@@ -0,0 +1,230 @@
+
+---
+
+## CLI Command Summary (67 total)
+
+| Category | Commands | Count |
</file context>
|
|
||
| --- | ||
|
|
||
| ### The Validation Layer - Pentagi (1 minute) |
There was a problem hiding this comment.
P3: Product name 'Pentagi' is inconsistent with the official branding 'PentAGI' used elsewhere in the codebase. For brand consistency in marketing materials, consider using 'PentAGI' to match the established naming convention.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/ALDECI_PODCAST_SCRIPT.md, line 102:
<comment>Product name 'Pentagi' is inconsistent with the official branding 'PentAGI' used elsewhere in the codebase. For brand consistency in marketing materials, consider using 'PentAGI' to match the established naming convention.</comment>
<file context>
@@ -0,0 +1,318 @@
+
+---
+
+### The Validation Layer - Pentagi (1 minute)
+
+*[Introduce this as the "when the stakes are high" option]*
</file context>
…age docs Cherry-picked from PR #207 with fixes: - Add run_micro_pentest function to demo_sidecar.py - Integrate Micro Pentest phase into run_scenario and full_demo flows - Add Micro Pentest Verdict row to assessment summary - Add health probe for micro-pentest endpoint - Add docs/API_CLI_COVERAGE_ANALYSIS.md (243-endpoint mapping) - Add docs/ALDECI_PODCAST_SCRIPT.md (20-minute podcast script) - Fix CLI command count arithmetic (67 -> 69)
|
Closing as part of PR consolidation. Changes have been cherry-picked into PR #240 with fixes (CLI command count arithmetic corrected from 67 to 69). |
Motivation
Description
run_micro_pentesttoscripts/demo_sidecar.pyand integrate a Micro Pentest phase (before PentAGI) intorun_scenarioandfull_demoflows.show_assessment_summaryto accept micro‑pentest results and display aMicro Pentest Verdictrow with colorized verdict reporting./api/v1/micro-pentest/status/0and add a demo fallback when micro‑pentest endpoints are missing (handle404/501with a demo verdict).docs/API_CLI_COVERAGE_ANALYSIS.md(full 243‑endpoint mapping and CLI coverage notes) anddocs/ALDECI_PODCAST_SCRIPT.md(20‑minute podcast script), and align wording about endpoint counts.Testing
FIXOPS_MODE=demo FIXOPS_JWT_SECRET=devsecret FIXOPS_API_TOKEN=demo-tokenand confirmed/healthreturned200.FIXOPS_BASE_URL=http://localhost:8000 FIXOPS_API_TOKEN=demo-token python scripts/demo_sidecar.py run-scenario --cve CVE-2021-44228 --skip-uploadand produced terminal output and summary screens (screenshots captured), with micro‑pentest fallback exercised when the API returned404.Codex Task
Summary by cubic
Integrates a Micro Pentest phase into the demo sidecar to provide fast exploitability validation before PentAGI, and adds clear API↔CLI coverage documentation plus a 20‑minute AlDeci podcast script. This improves the demo flow and clarifies endpoint counts and coverage.
Written for commit ac3c419. Summary will update on new commits.